//
//  ReadDetailCommentModel.m
//  product_B
//
//  Created by lanou on 16/5/30.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import "ReadDetailCommentModel.h"

@implementation ReadDetailCommentModel
- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if ([key isEqualToString:@"id"]) {
        _myID = value;
    }
}
+ (NSMutableArray *)readDetailCommentModelWithConfigure:(NSDictionary *)dic{
    NSMutableArray *modelArray = [NSMutableArray array];
    NSArray *dataArray = dic[@"data"][@"data"];
    for (NSDictionary *dic in dataArray) {
        ReadDetailCommentModel *model = [[ReadDetailCommentModel alloc]init];
        [model setValuesForKeysWithDictionary:dic];
        [modelArray addObject:model];
    }
    return modelArray;
}
@end
